function getXmlHttpObject() {

    var xmlHttp = null
   
    try {
        // Firefox, Opera 8.0+, Safari
        xmlHttp = new XMLHttpRequest()
    } catch (e) {
        // Internet Explorer
        try {
            xmlHttp = new ActiveXObject("Msxml2.XMLHTTP")
        } catch (e) {
            xmlHttp = new ActiveXObject("Microsoft.XMLHTTP")
        }
    }

    if ( xmlHttp == null ) {
	    alert("Your browser does not support AJAX!")
	}
	
    return xmlHttp
}

function post(xmlHttp, url, func) {

    if(xmlHttp == null) {
        return
    }
        
    xmlHttp.onreadystatechange = func
    xmlHttp.open("GET",url,true)
    xmlHttp.send(null)
}